package com.leap.meeting.pojo;

import java.time.LocalDateTime;

public class Record {
    private Integer id;
    private String name;
    private String address;
    private Integer attendees;
    private String speaker;
    private String topic;
    private String trainContent;

    //    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    //    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private Integer express;


    public Record() {
    }

    public Record(Integer id, String name, String address, Integer attendees, String speaker, String topic, String trainContent, LocalDateTime startTime, LocalDateTime endTime, Integer express) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.attendees = attendees;
        this.speaker = speaker;
        this.topic = topic;
        this.trainContent = trainContent;
        this.startTime = startTime;
        this.endTime = endTime;
        this.express = express;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return attendees
     */
    public Integer getAttendees() {
        return attendees;
    }

    /**
     * 设置
     * @param attendees
     */
    public void setAttendees(Integer attendees) {
        this.attendees = attendees;
    }

    /**
     * 获取
     * @return speaker
     */
    public String getSpeaker() {
        return speaker;
    }

    /**
     * 设置
     * @param speaker
     */
    public void setSpeaker(String speaker) {
        this.speaker = speaker;
    }

    /**
     * 获取
     * @return topic
     */
    public String getTopic() {
        return topic;
    }

    /**
     * 设置
     * @param topic
     */
    public void setTopic(String topic) {
        this.topic = topic;
    }

    /**
     * 获取
     * @return trainContent
     */
    public String getTrainContent() {
        return trainContent;
    }

    /**
     * 设置
     * @param trainContent
     */
    public void setTrainContent(String trainContent) {
        this.trainContent = trainContent;
    }

    /**
     * 获取
     * @return startTime
     */
    public LocalDateTime getStartTime() {
        return startTime;
    }

    /**
     * 设置
     * @param startTime
     */
    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    /**
     * 获取
     * @return endTime
     */
    public LocalDateTime getEndTime() {
        return endTime;
    }

    /**
     * 设置
     * @param endTime
     */
    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    /**
     * 获取
     * @return express
     */
    public Integer getExpress() {
        return express;
    }

    /**
     * 设置
     * @param express
     */
    public void setExpress(Integer express) {
        this.express = express;
    }

    public String toString() {
        return "Record{id = " + id + ", name = " + name + ", address = " + address + ", attendees = " + attendees + ", speaker = " + speaker + ", topic = " + topic + ", trainContent = " + trainContent + ", startTime = " + startTime + ", endTime = " + endTime + ", express = " + express + "}";
    }
}
